﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Models;
using BLL;
using System.Web.Script.Serialization;

namespace MiaoWeiProject.tanlu
{
    /// <summary>
    /// neiro4 的摘要说明
    /// </summary>
    public class neiro4 : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            List<FaTie2> list = FaTie2BLL.SelectAlly4();
            JavaScriptSerializer js = new JavaScriptSerializer();
            string jsonStr = js.Serialize(list);
            context.Response.Write(jsonStr);

        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}